﻿@using DevTrends.MvcDonutCaching
@using ECG.WebUI.CustomHelpers
<!DOCTYPE html>
<html lang="vi" xmlns:fb='https://www.facebook.com/2008/fbml'>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.Title</title>
    <meta name="description" content="@ViewBag.Description" />
    <meta name="keywords" content="@ViewBag.Keywords" />
    @Html.CanonicalUrl()
    @{
        var htmlMeta = ECG.WebUI.CustomHelpers.FunctionHelpers.returnConfig("HeaderMeta");
    }
    @Html.Raw(Server.HtmlDecode(htmlMeta))
    @Styles.Render("~/Content/stylePromotion")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>

    <div id="header">
        @Html.Action("header", "PromotionPage")
    </div>
    <div id="content">
        @RenderBody()
    </div>
    <div id="footer">
        @Html.Action("Footer", "Home")
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/HideLayoutPromotion")
    @RenderSection("scripts", required: false)
    @{
        var analytics = ECG.WebUI.CustomHelpers.FunctionHelpers.returnConfig("AnalyticsCode");
        if (!string.IsNullOrEmpty(analytics))
        {
            @Html.Raw("<script>" + Server.HtmlDecode(analytics) + "</script>")
        }
    }
</body>
</html>
